.editor {
    width: 560px;
    position: relative;
    #editor {
        z-index: 1;
        position: relative;
        .toolbar {
            border: 1px solid #e9e9e9;
            border-bottom-color: #f1f1f1;
            background-color: #f1f1f1;
        }
        .text {
            border: 1px solid #e9e9e9;
            height: 330px;
            overflow: scroll;
        }
    }
    .btn-box {
        position: absolute;
        top: 0px;
        right: -130px;
        .button {
            user-select: none;
            background: #888;
            box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
            border-radius: 1px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            color: #fff;
            width: 120px;
            display: block;
            margin-bottom: 10px;
            cursor: pointer;
            &:hover {
                background-color: #409eff;
            }
        }
    }
    .html-text {
        resize: none;
        border: 0;
        margin: 0;
        overflow-y: auto;
        outline: 0;
        width: 100%;
        height: 362px;
        position: absolute;
        top: 1px;
        border: 1px solid #e9e9e9;
        border-top: none;
        z-index: 10001;
        textarea {
            display: none;
        }
    }
}


